package cn.shyouchi.wuguanjia.android.widget;

import android.content.Context;
import android.view.LayoutInflater;
import android.widget.FrameLayout;
import android.widget.TextView;

import cn.shyouchi.wuguanjia.android.R;

/**
 * Created by Eenie on 2016/10/26 at 13:23
 * Email: 472279981@qq.com
 * Des:
 */

public class ListEmptyView extends FrameLayout {

    TextView tvNotice;

    public ListEmptyView(Context context) {
        super(context);
        init();
    }

    public void init() {
        LayoutInflater.from(getContext()).inflate(R.layout.view_list_empty_layout, this);
        tvNotice = (TextView) findViewById(R.id.tv_empty_notice);
        tvNotice.setText("还没有任何信息，去添加信息！");

    }
}
